/*
 * =====================================================================================
 *
 *       Filename:  main.cpp
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  03/31/2011 11:29:02 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Brent Ritzema (), thetechtouchdutch@gmail.com
 *        Company:  thetechtouch
 *
 * =====================================================================================
 */

#include <iostream>
#include "../engine/engine.h"

using namespace std;


void Draw();

int main()
{
   engine->SetupWindow(600,600,8,"Game");
   engine->GetRenderSub()->AddSub(&Draw);
   engine->Update();
   return 0;
}

void Draw()
{
   sf::Image img_Man;
   img_Man.LoadFromFile("../media/Man.png");
   sf::Sprite spt_Man(img_Man);
   spt_Man.SetPosition(20,20);
   engine->GetWindow()->Draw(spt_Man);
}
